.ticket-sales-container {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.schedule-details {
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.seat-selection {
  margin-bottom: 20px;
}

.screen {
  width: 80%;
  height: 100px; /* 从50px放大到100px */
  background-color: #e0e0e0;
  margin: 0 auto 30px; /* 增加底部边距到30px */
  text-align: center;
  line-height: 100px; /* 从50px放大到100px */
  border-radius: 5px;
  font-size: 20px; /* 增加字体大小 */
}

.seat-matrix {
  background-color: #f9f9f9;
  padding: 30px; /* 从20px增加到30px */
  border-radius: 8px;
  overflow-x: auto;
}

.seat-row {
  display: flex;
  margin-bottom: 15px; /* 从10px增加到15px */
}

.row-label {
  width: 60px; /* 从30px放大到60px */
  text-align: center;
  line-height: 60px; /* 从30px放大到60px */
  font-weight: bold;
  font-size: 18px; /* 增加字体大小 */
}

.seat {
  width: 60px; /* 从30px放大到60px */
  height: 60px; /* 从30px放大到60px */
  margin: 0 10px; /* 从5px放大到10px */
  border-radius: 6px; /* 稍微增加圆角 */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px; /* 从12px放大到18px */
}

.legend {
  display: flex;
  margin-top: 25px; /* 从15px增加到25px */
  justify-content: center;
  font-size: 16px; /* 增加字体大小 */
}

.legend-item {
  display: flex;
  align-items: center;
  margin: 0 20px; /* 从15px增加到20px */
}

.checkout {
  margin-top: 20px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.phone-input {
  margin: 15px 0;
}

.phone-input label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.phone-input input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.order-btn {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 10px 0;
  cursor: pointer;
  border-radius: 4px;
}

.order-btn:hover {
  background-color: #45a049;
}

.loading,
.error,
.no-data {
  text-align: center;
  padding: 20px;
  font-size: 18px;
}

.error {
  color: #f44336;
}

/* 座位状态样式 */
.seat.available {
  background-color: #4caf50; /* 绿色 - 可售 */
  color: white;
}

.seat.sold {
  background-color: #f44336; /* 红色 - 已售 */
  color: white;
  cursor: not-allowed;
}

.seat.selected {
  background-color: #2196f3; /* 蓝色 - 已选 */
  color: white;
}

.seat.unavailable {
  background-color: #9e9e9e; /* 灰色 - 不可用 */
  color: white;
  cursor: not-allowed;
}

/* 添加到现有样式文件的末尾 */
.schedule-selection {
  margin: 20px 0;
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 8px;
}

.schedule-selection label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

.schedule-selection select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.schedule-selection button {
  background-color: #2196f3;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.schedule-selection button:hover {
  background-color: #0b7dda;
}
